// 表格列
import { tableColumnsTooltipFieId } from '@/utils/tableColumnsTooltipFieId'

let tableColumns: any = [
    {
        headerCheckboxSelection: true,
        checkboxSelection: true,
        width: 50,
        showDisabledCheckboxes: false,
        pinned: 'left',
        spanHeaderHeight: true
    },
    {
        field: '日期',
        spanHeaderHeight: true,
    },
    {
        headerName: '订单准交查询表',
        children: [

            {
                headerName: '本集团',
                children: [
                    {
                        headerName: '总订单数',


                        field: 'athlete'
                    },
                    {
                        headerName: '完成订单数',

                        field: 'age'
                    },
                    {
                        headerName: '订单准交率',

                        field: 'age'
                    }
                ],
            },
            {
                headerName: '外加工',
                children: [
                    {
                        headerName: '总订单数',


                        field: 'athlete'
                    },
                    {
                        headerName: '完成订单数',

                        field: 'age'
                    },
                    {
                        headerName: '订单准交率',

                        field: 'age'
                    }
                ],
            },
            {
                headerName: '厂部',
                children: [
                    {
                        headerName: '总订单数',


                        field: 'athlete'
                    },
                    {
                        headerName: '完成订单数',

                        field: 'age'
                    },
                    {
                        headerName: '订单准交率',

                        field: 'age'
                    }
                ],
            },
        ],
    },

]
let tableColumns1: any = [
    {
        headerCheckboxSelection: true,
        checkboxSelection: true,
        width: 50,
        showDisabledCheckboxes: false,
        pinned: 'left',
        spanHeaderHeight: true
    },
    { field: '日期', spanHeaderHeight: true },
    {
        headerName: '本集团',
        children: [
            // {
            // headerName: '日期', field: 'athlete',
            // children: [
            //     { headerName: '日期', field: 'athlete' },
            // ],

            // },
            {
                headerName: '计划WIP',
                children: [
                    {
                        headerName: '重量',

                        field: 'athlete'
                    },
                    { headerName: '匹数', field: 'age' }
                ],
            },
            {
                headerName: '生产WIP',
                children: [
                    {
                        headerName: '重量',

                        field: 'athlete'
                    },
                    { headerName: '匹数', field: 'age' }
                ],
            },
            {
                headerName: '查布WIP',
                children: [
                    {
                        headerName: '重量',

                        field: 'athlete'
                    },
                    { headerName: '匹数', field: 'age' }
                ],
            },
            {
                headerName: '修补WIP',
                children: [
                    {
                        headerName: '重量',

                        field: 'athlete'
                    },
                    { headerName: '匹数', field: 'age' }
                ],
            },
            {
                headerName: '待入仓WIP',
                children: [
                    {
                        headerName: '重量',

                        field: 'athlete'
                    },
                    { headerName: '匹数', field: 'age' }
                ],
            },
            {
                headerName: '库存WIP ',
                children: [
                    {
                        headerName: '重量',

                        field: 'athlete'
                    },
                    { headerName: '匹数', field: 'age' }
                ],
            },

        ],
    },

]
let tableColumns2: any = [
    {
        headerCheckboxSelection: true,
        checkboxSelection: true,
        width: 50,
        showDisabledCheckboxes: false,
        pinned: 'left',
        spanHeaderHeight: true
    },
    { field: '日期', spanHeaderHeight: true },
    {
        headerName: '外加工',
        children: [
            // {
            // headerName: '日期', field: 'athlete',
            // children: [
            //     { headerName: '日期', field: 'athlete' },
            // ],

            // },
            {
                headerName: '计划WIP',
                children: [
                    {
                        headerName: '重量',

                        field: 'athlete'
                    },
                    { headerName: '匹数', field: 'age' }
                ],
            },
            {
                headerName: '生产WIP',
                children: [
                    {
                        headerName: '重量',

                        field: 'athlete'
                    },
                    { headerName: '匹数', field: 'age' }
                ],
            },
            {
                headerName: '查布WIP',
                children: [
                    {
                        headerName: '重量',

                        field: 'athlete'
                    },
                    { headerName: '匹数', field: 'age' }
                ],
            },
            {
                headerName: '修补WIP',
                children: [
                    {
                        headerName: '重量',

                        field: 'athlete'
                    },
                    { headerName: '匹数', field: 'age' }
                ],
            },
            {
                headerName: '待入仓WIP',
                children: [
                    {
                        headerName: '重量',

                        field: 'athlete'
                    },
                    { headerName: '匹数', field: 'age' }
                ],
            },
            {
                headerName: '库存WIP ',
                children: [
                    {
                        headerName: '重量',

                        field: 'athlete'
                    },
                    { headerName: '匹数', field: 'age' }
                ],
            },

        ],
    },

]
tableColumnsTooltipFieId(tableColumns)
tableColumnsTooltipFieId(tableColumns1)
tableColumnsTooltipFieId(tableColumns2)
export {
    tableColumns,
    tableColumns1,
    tableColumns2,
}